package com.lucweb.service;


import com.lucweb.entity.TaskBuy;
import com.lucweb.entity.TaskMaterial;


import java.util.List;


public interface BuyService {


    //获取所有检测任务列表

    String newbuyTask();


    void saveOrUpdate(TaskBuy taskBuy);

    TaskBuy gettaskbuyById(int taskId);

    boolean deletebuytask(int taskId);

    List<TaskBuy>showbuy();

    List<TaskMaterial> showMaterial(int taskId);

    void materialsaveOrUpdate(TaskMaterial taskMaterial);

    TaskMaterial gettaskMaterialById(int materialId);

    void deletematerialtask(int materialId);

    int getmaxId();
}
